package com.ytjj.qmyx.mall.mapper;

import com.ytjj.qmyx.mall.model.OrdersRefund;
import com.ytjj.qmyx.mall.model.OrdersRefundExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrdersRefundMapper {
    long countByExample(OrdersRefundExample example);

    int deleteByExample(OrdersRefundExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(OrdersRefund record);

    Integer insertSelective(OrdersRefund record);

    List<OrdersRefund> selectByExampleWithBLOBs(OrdersRefundExample example);

    List<OrdersRefund> selectByExample(OrdersRefundExample example);

    OrdersRefund selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") OrdersRefund record, @Param("example") OrdersRefundExample example);

    int updateByExampleWithBLOBs(@Param("record") OrdersRefund record, @Param("example") OrdersRefundExample example);

    int updateByExample(@Param("record") OrdersRefund record, @Param("example") OrdersRefundExample example);

    int updateByPrimaryKeySelective(OrdersRefund record);

    int updateByPrimaryKeyWithBLOBs(OrdersRefund record);

    int updateByPrimaryKey(OrdersRefund record);

    Integer updateRefundTime(String orderNo);
}